package com.write.program.socket.message;



/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Endstart
 * Date: 2019-11-20
 * Time: 23:28
 */
public class BroadcastMessage extends Message{
    private String fromUserName;

    @Override
    public int getType() {
        return MessageConst.BROADCASE_MESSAGE_TYPE;
    }

    public String getFromUserName() {
        return fromUserName;
    }

    public void setFromUserName(String fromUserName) {
        this.fromUserName = fromUserName;
    }
}
